#pragma once

#include <QObject>  //包含该文件，使用信号和槽
#include <QUdpSocket>
#include <QtNetwork>
#include <winsock2.h>
#include <QMessageBox>
#include <queue>
#include <QMutex>

class SaveThread : public QObject
{
public:
    void udpDataSave(const QString &filePath,bool fileDivisionFlag,int fileDivisionSize);

signals:

public:
    QMutex mutex;
    std::queue<char> *dataTemp;
    unsigned long queueSize;
    bool stopFlag{false};
    QString filePath;
};
